#!/bin/bash
mkdir -p install/arm/lib
mkdir -p install/arm/bin
mkdir -p install/x64/lib
mkdir -p install/x64/bin

cp build/examples/amqp_send_receive install/x64/bin/amqp_run
cp -ar build/librabbitmq/librabbitmq.so* install/x64/lib
cp config.json install/x64/bin/

cp build_arm/examples/amqp_send_receive install/arm/bin/amqp_run
cp -ar build_arm/librabbitmq/librabbitmq.so* install/arm/lib
cp config.json install/arm/bin/
